<template>
	
	<view class="asset">
		<view class="head" style="z-index: 999;">
			<view class="head_text" @click="black()">返回</view>
			<image src="../../../static/public/img/fh.png"
				style="width: 18px;height: 18px;position: absolute;top:33px;left: 15px;"></image>
				<view class="ss">账户安全</view>
			<view style="width: 17%;height: 25px;position: absolute;top:30px;right:5px;font-size: 14px;"  @click="sx(issx)">联系客服</view>	
		</view>
		
		<view style="width: 100%;height: 20px;line-height: 20px;background: white;font-size: 12px;padding: 3%;border-bottom: 1px solid #d9d9d9;" @click="goresetPassword">
			<view style="float: left;width: 90%;">修改登录密码</view>
			<image src="../../../static/public/img/xia.png" style="width: 20px;height: 20px;float:left;margin-top: 2%;"></image>
		</view>
		<view style="width: 100%;height: 20px;line-height: 20px;background: white;font-size: 12px;padding: 3%;" @click="goresetAccountPassword">
			<view style="float: left;width: 90%;">修改取款密码</view>
			<image src="../../../static/public/img/xia.png" style="width: 20px;height: 20px;float:left;margin-top: 2%;"></image>
		</view>
	</view>
</template>

<script>
	//导入组件
	export default {
		data() {
			return {
              issx:false,
			}
		},
		methods: {
			   goresetPassword(){
				   uni.navigateTo({
				   	url: '/pages/components/resetPassword/resetPassword'
				   })
			   },
			   goresetAccountPassword(){
				   uni.navigateTo({
				   	url: '/pages/components/resetAccountPassword/resetAccountPassword'
				   })
			   },
			   black(){
				   uni.navigateBack()
			   }
		},
		onShow() { 

		},

	}
</script>

<style lang="scss">
	page {
		background-color:#f2f2f2;
	}

	.asset {
	   .head {
	   	background: #151516 !important;
	   	color: #fff;
	   	height: 130rpx;
	   	font-size: 18px;
	   }
	   
	   .head_text {
		 font-size: 14px;
         margin-left: 9%;
	   	 line-height: 160rpx;
	   }
	   .item{
		   width: 100%;
		   float: left;
		   margin-top: 5%;
		   border-bottom: 1px solid #ddd;
		   padding-bottom: 3%;
	   }
	 
	   .ss {
	   		 text-align: center;
	   		 line-height: 160rpx;
	   		 position: absolute;
	   		 top: 0px;
	   		 left: 42%;
	   }

	}
</style>
